package jp.tkym.labs.gwt.client.bean;

import java.io.Serializable;

@SuppressWarnings("serial")
public class GanttTask implements Serializable{
	private long id;
	private String taskName;
	private int start;
	private int length;
	private GanttTaskState status;
	private String owner;
	private String url;
	
	public GanttTask(){}
	
	public GanttTask(long id, String header, int start, int length, GanttTaskState status, String owner, String url){
		this.id = id;
		this.taskName = header;
		this.start = start;
		this.length = length;
		this.status = status;
		this.owner = owner;
		this.url = url;
	}
	
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public int getLength() {
		return length;
	}
	public void setLength(int length) {
		this.length = length;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getStart() {
		return start;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public GanttTaskState getStatus() {
		return status;
	}

	public void setStatus(GanttTaskState status) {
		this.status = status;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getId() {
		return id;
	}
}